package com.itheima.mapper;

import com.github.pagehelper.Page;
import com.itheima.domain.CheckGroup;
import com.itheima.domain.Setmeal;

import java.util.List;
import java.util.Map;

public interface SetmealMapper {
    Page<CheckGroup> selectByCondition(String queryString);

    void setSetmealAndCheckGroup(Map<String, Integer> map);

    void add(Setmeal setmeal);

    void delete(Integer id);

    void deleteAssociation(Integer id);

    Setmeal findById(Integer setmealId);

    List<Integer> findCheckGroupIdsBySetmealId(Integer setmealId);

    void edit(Setmeal setmeal);

    List<Setmeal> findAll();

    List<Map<String, Object>> findSetmealCount();

    Map<String, Object> findSetmealReportMoneyCount(String value);

}
